﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using EventLogger.DataLayer;
using System.Web.Mvc;

namespace EventLogger.Web.Views.Home
{
    public class Index:ViewPage
    {
        protected IEnumerable<EventDefinition> Events
        {
            get { return (IEnumerable<EventDefinition>)ViewData["events"]; }
        }

        protected IEnumerable<string> Users
        {
            get { return (IEnumerable<string>)ViewData["users"]; }
        }

        protected IEnumerable<string> Computers
        {
            get { return (IEnumerable<string>)ViewData["computers"]; }
        }
    }
}
